package com.example.mybatisplusdemo.service.impl;

import com.example.mybatisplusdemo.entity.StudentInfo;
import com.example.mybatisplusdemo.mapper.StudentInfoMapper;
import com.example.mybatisplusdemo.service.IStudentInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author keson
 * @since 2021-06-23
 */
@Service
public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, StudentInfo> implements IStudentInfoService {

    @Autowired
    private StudentInfoMapper studentInfoMapper;

    @Override
    public List<StudentInfo> listAll() {
        return studentInfoMapper.listAll();
    }

}
